package mongohelper.sample;

import mongohelper.annotations.MongoField;
import mongohelper.annotations.MongoObject;

@MongoObject
public class Address {

	@MongoField(fieldName = "_street_address")
	private String street;

	@MongoField(fieldName = "_city")
	private String city;

	@MongoField(fieldName = "_zip")
	private int zipCode;

	@MongoField(fieldName = "_state")
	private String state;

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public int getZipCode() {
		return zipCode;
	}

	public void setZipCode(int zipCode) {
		this.zipCode = zipCode;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
